
<script>
	import global from "/global";
	
	global.token = "";
	global.userSelf = null;
	global.avatarContent = "";
	
	export default {
		data() {
			return {
				title: '群聊管理'
			}
		},
		onLoad() {
			
		},
		methods: {
			clickLogin()
			{
				uni.navigateTo({
					url: "/pages/login/login"
				})
			},
			clickExit()
			{
				alert("点击了退出");
			}
		}
	}
	
</script>



<template>
	
	<view class="container">
		
		<img src="/static/svelte-welcome.png" alt="Welcome" />
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		
		<button class="button is-link" v-on:click="clickLogin">登录</button>
		<button class="button is-light" v-on:click="clickExit">退出</button>
	</view>
	
	
	<view class="container is-flex">
		
	</view>
	
	
	
	
</template>





<style>

	.container {
		display: flex;
		flex-direction: column;
		position: relative;
		transform: translate(0, 50%);
		
	}
	
	.container > * {
		margin: 5px;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>



